﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Website.Models;

namespace Website.Controllers
{
    public class QuanLyThongTinTruongHocController : Controller
    {
        //
        // GET: /QuanLyThongTinTruongHoc/
        private ISSContext db = new ISSContext();
        public ActionResult Index()
        {
           return View(db.TruongHocs.ToList());
        }

        public ActionResult GridView()
        {
            // DXCOMMENT: Pass a data model for GridView in the PartialView method's second parameter
            return PartialView("GridView", db.TruongHocs.ToList());
        }

    }
}
